/*
 * Copyright (C) 2017-2021
 * All rights reserved, Designed By
 * Copyright authorization contact 18814114118
 */
package com.shop.cereshop.business.service.shop;

import com.shop.cereshop.commons.domain.shop.CereShopBrand;
import com.shop.cereshop.commons.exception.CoBusinessException;

/**
 * 品牌店铺认证服务接口
 */
public interface CereShopBrandService {

    /**
     * 根据店铺ID查询品牌认证信息
     * @param shopId 店铺ID
     * @return 品牌认证信息
     */
    CereShopBrand findByShopId(Long shopId);

    /**
     * 插入品牌认证信息
     * @param cereShopBrand 品牌认证信息
     * @throws CoBusinessException 业务异常
     */
    void insert(CereShopBrand cereShopBrand) throws CoBusinessException;

    /**
     * 更新品牌认证信息
     * @param cereShopBrand 品牌认证信息
     * @throws CoBusinessException 业务异常
     */
    void updateByPrimaryKey(CereShopBrand cereShopBrand) throws CoBusinessException;

    /**
     * 根据店铺ID删除品牌认证信息
     * @param shopId 店铺ID
     * @throws CoBusinessException 业务异常
     */
    void deleteByShopId(Long shopId) throws CoBusinessException;
}
